using System.Collections.Generic;
using Microsoft.Xna.Framework.Input.Touch;

namespace INdT.Sparta.Input
{
    public static class SpartaTouch
    {
        public static TouchCollection TouchCollection { get; private set; }

        public static GestureSample GestureSample { get; private set; }

        public static void Update()
        {
            TouchCollection = TouchPanel.GetState();

            if (TouchPanel.IsGestureAvailable)
            {
                GestureSample = TouchPanel.ReadGesture();
            }
        }
    }
}
